$CC = gcc
RM = /bin/rm
CFLAGS = -Wall

all: banque banqueQ4 banqueQ5 banqueQ6

banque: banque.c
	${CC} ${CFLAGS} -g -o banque banque.c

banqueQ4: banqueQ4.c
	${CC} ${CFLAGS} -g -o banqueQ4 banqueQ4.c

banqueQ5: banqueQ5.c
	${CC} ${CFLAGS} -g -o banqueQ5 banqueQ5.c

banqueQ6: banqueQ6.c
	${CC} ${CFLAGS} -g -o banqueQ6 banqueQ6.c

clean:
	${RM} -f *~ *.bak *.tmp \
	         *.o *.s

cleanall: clean
	${RM} -f banque banqueQ4 banqueQ6 banque.dat

